package org.fing.edu.uy.esbadp.modules.persistance;


public class ServiceManagerFactory {

	private static ServiceManagerInterface instance = null;
	
	private ServiceManagerFactory (){
		
	}	
	
	/**
	 * 
	 * @return una implementacion de ServiceManagerInterface
	 */
	public static synchronized ServiceManagerInterface getServiceManager(){
		if(instance == null){
			instance =  new ServiceManagerImpl();		
		}
		return instance;	
	}
	
}
